<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src='../js/jquery.js'></script>
<script type="text/javascript">
	
	$(function(){
		//正式形式
		/*$("#d1").bind('click',function(){
			$(this).html("Hello Java");
		});*/
		
		//简写形式
		$("#d1").click(function(){
			$(this).html("Hello Java");
		});
	});
	
</script>
</head>
<body>
	<div id="d1">Hello jQuery</div>
</body>
</html>